package com.oj.friend.domain.exam.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description
 * @Author bin
 * @Date 2025/5/7
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ExamVO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long examId;

    private String title;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private Integer status;

    private String createName;

    private LocalDateTime createTime;

    //用来说明当前用户是否已经报名当前竞赛
    private boolean enter;
}
